package com.miukoo.aikao.qexam.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.miukoo.aikao.core.pojos.BaseModel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
* <p>
* 考试部门实体类
* </p>
*
* @author 聪明笨狗
* @since 2020-09-03 17:24
*/
@Setter
@Getter
@TableName("el_exam_depart")
public class ExamDepart extends BaseModel<ExamDepart> {

    private static final long serialVersionUID = 1L;
    
    /**
    * ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    
    /**
    * 考试ID
    */
    @TableField("exam_id")
    private Long examId;
    
    /**
    * 部门ID
    */
    @TableField("depart_id")
    private Long departId;

    @Override
    public Serializable pkVal() {
        return id;
    }
}
